package game.source.gui.price;

import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;

import javax.imageio.ImageIO;

/**
 *GuiPriceLevelUp:
 *	Gerencia a parte gráfica do prêmio "LevelUp"
 */
public class GuiPriceLevelUp extends GuiPrice {
	private static BufferedImage image;
	
	static{
		try {
			GuiPriceLevelUp.image = ImageIO.read(new File(GuiPriceLevelUp.class.getResource("/images/prices/levelup.png").getFile()));
		} catch (IOException e) {
			e.printStackTrace();
			System.err.println("Arquivo: "+GuiPriceLevelUp.class.getResource("/images/prices/levelup.png")+" não pode ser aberto");
			System.exit(1);
		}
	}
	
	public GuiPriceLevelUp() {
		super(100);
	}
	
	@Override
	public BufferedImage getImage() {
		return GuiPriceLevelUp.image;
	}

}
